package de.tabuma.customer.entity;

import javax.jdo.annotations.*;
import java.io.*;

/**
 * @author $Author: alefen $
 * @version $Revision: 1.1.1.1.6.1 $
 * @since $Date: 2010/01/13 10:12:31 $
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Customer implements Serializable {

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
    public Long getId() {
        return id;
    }
    
    @Persistent
    String name;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
}